package com.roc.steelend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Date;
import java.sql.Timestamp;
import java.text.DecimalFormat;

/**
 * 发票
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "invoice")
public class Invoice {

    @TableId(type = IdType.INPUT)
    private BigInteger invoiceId;
    private Integer employeeId;
    private String invoiceType;
    private Timestamp operateTime;
    private Date invoiceTime;
    private BigDecimal invoiceMoney;
    private String who;
    private String remark;
    private String invoiceTitle;

    @TableField(exist = false)
    private Employee employee;

}
